import sys

import pygame

def check_events():
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            sys.exit()

def update_screen(mc_settings, screen):
    screen.fill(mc_settings.bg_color)
    pygame.display.flip()